package com.alibaba.Text.p1.Shape.Sshape;

import java.awt.geom.Area;

public class Recentage  extends Shappe{

        private int width;
        private int length;

    public Recentage(int width, int length) {
        this.width = width;
        this.length = length;
    }

    public Integer Area(){
        return width * length;
    }
    public Integer Perimeter(){
        return (width + length) * 2;
    }

}
